package com.fbee.smartcommunities.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fbee.smartcommunities.entity.Log;
import com.fbee.smartcommunities.entity.Notice;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sun.org.apache.xpath.internal.operations.Bool;
import com.sun.xml.internal.fastinfoset.algorithm.BooleanEncodingAlgorithm;
import org.aspectj.weaver.ast.Not;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 汪佳泉
 * @since 2024-08-20
 */
public interface NoticeService extends IService<Notice> {

    Page<Notice> getPage(Integer pageNo, Integer pageSize , String keyword);

    Boolean saveNotice(String content,String title,Long[] userId);

    Boolean update(Long id,String content,String title);

    List<Notice> getByUid(Long uid);
}
